﻿using System.Net;

namespace SelfService.Model.Models
{
    public class Result<T>
    {
        public int Code { get; set; } = 200;

        public string Message { get; set; } = "success";

        public T Data { get; set; }
    }

    public class ResultDetail<T> : Result<T>
    {
        public string Request { get; set; }

        public string Response { get; set; }

        public HttpStatusCode StatusCode { get; set; }
    }
}
